package com.bgs.service.impl;

import com.bgs.entity.Store;
import com.bgs.mapper.StoreMapper;
import com.bgs.service.StoreService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class StoreServiceImpl  implements StoreService {
    @Autowired
    private
    StoreMapper storeMapper;
    @Override
    public List<Store> load2(Integer storeId) {
        List<Store> stores = storeMapper.load2(storeId);
        return stores;
    }
}